apiready = function() {
    seajs.use(['../../V', "../../api", "../../jquery", "../../app", "../../service"], function(V, $api, $, app, service) {
        var vm = {
            el: '.container',
            data: {
                list: '',
                isEdit: false
            },
            mounted: function() {

            },
            methods: {
                //--编辑分类
                classfiyEdit: function(et) {
                    this.isEdit = true;
                },
                //--新建分类
                classfiyNew: function(et) {

                },
                //--删除分类
                classfiyDel: function(et) {
                    var id = et.currentTarget.dataset.id;
                },
                //--修改分类
                classfiyMod: function(et) {
                    var id = et.currentTarget.dataset.id;
                },
                //--取消编辑
                classfiyCancel: function(et) {
                    this.isEdit = false;
                },
                //--完成编辑
                classfiyComplete: function(et) {

                }

            },
            created: function() {
                this.list = [{
                    id: '123456',
                    name: '洗面奶'
                }, {
                    id: '123456',
                    name: '洗面奶'
                }, {
                    id: '123456',
                    name: '洗面奶'
                }];
            }
        };
        var even = function() {

        };
        var newVue = new Vue(vm);
        even();

    })
}
